package homework;

public class MultiplyTest extends MathTest {

    public MultiplyTest(int a, int b) {
        super(a, b);
    }

    //计算功能
    @Override
    public int calculate() {
        return a * b;
    }

    //题目描绘
    @Override
    public String getQuestion() {
        return a + "*" + b + "= ? ";
    }
}
